//
//  JSTInterestcircleDataFrame.m
//  KYKJPackDemo
//
//  Created by 01 on 17/5/10.
//  Copyright © 2017年 ???. All rights reserved.
//

#import "JSTInterestcircleDataFrame.h"
#import "JSTInterestcircleDataModel.h"
#import "JSTInterestcircleFrame.h"

@implementation JSTInterestcircleDataFrame

- (void)setModel:(JSTInterestcircleDataModel *)model
{
    _model = model;
    [self setupModelDataFrame];
    
    self.cellHeight = CGRectGetMaxY(self.interestcircleFrame.frame);
}

//计算评论整体内容
- (void) setupModelDataFrame
{
    JSTInterestcircleFrame *interestcircleFrame = [[JSTInterestcircleFrame alloc] init];
    interestcircleFrame.model = self.model;
    self.interestcircleFrame = interestcircleFrame;
}

@end
